<?php

class UtilsController extends Zend_Controller_Action
{
	
	public function init()
    {
	}

    public function utilsAction()
    {
		$this->_helper->layout->disableLayout();
		$this->_helper->viewRenderer->setNoRender();
		$this->_helper->redirectToOrigin();
	}
	
	public function definitionsAction()
    {
		$this->_helper->layout->disableLayout();
		$this->_helper->viewRenderer->setNoRender();
		$registry = Zend_Registry::getInstance();
		$path = $registry->path["conf"];
		new CMS_Xsl_DefinitionsParser($path . "/definitions.xml", $path . "/definitions.xsl");
		$this->_helper->redirectToOrigin();
	}
	


}

